<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{admin/common/common}">
<head>
    <title>服务列表</title>
</head>

<body layout:fragment="content">
<form id="myForm" th:action="@{/park/list}" th:method="get">
    <div class="page-container">
        <div class="text-c">
            <input type="text" class="input-text" style="width:150px" placeholder="输入园区代码" name="parkCode" th:value="${parkCode}"/>
            <input type="text" class="input-text" style="width:150px" placeholder="输入园区名称" name="parkName" th:value="${parkName}"/>
            <button type="submit" class="btn btn-success">
                <i class="Hui-iconfont">&#xe665;</i>
                搜园区
            </button>
        </div>
        <table class="table table-border table-bordered table-bg table-hover">
            <thead>
            <tr>
                <th scope="col" colspan="7">园区列表</th>
            </tr>
            <tr class="text-c">
                <th>园区编码</th>
                <th>园区名称</th>
                <th>园区地址</th>
                <th>注册时间</th>
                <th>描述</th>
            </tr>
            </thead>
            <tbody>
            <tr class="text-c" th:each="model:${pageInfo?.result}" th:object="${model}">
                <td th:text="*{parkCode}">d</td>
                <td th:text="*{parkName}">d</td>
                <td th:text="*{parkAddress}">d</td>
                <td th:text="*{#dates.format(resiterTime, 'yyyy-MM-dd HH:mm')}">2014-6-11 11:11:42</td>
                <td th:text="*{description}">d</td>
            </tr>
            </tbody>
        </table>
        <div th:replace="admin/common/page :: page"></div>
    </div>
</form>

<script type="text/javascript" th:src="@{/js/common/page.js}"></script>
<script th:inline="javascript">

</script>
</body>
</html>